<template>
  <!-- <nav> -->
  <!-- <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link> -->

  <!-- </nav> -->
  <router-view />
</template>

<script>
// 路由数据的引入
import routerData from "@/router/routerData";

import { addDynamicRoutes } from "./router/index";

export default {
  mounted() {
    addDynamicRoutes(routerData);
  },
};
</script>

<style lang="scss" scoped>
</style>
